package com.czxy.demo04;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import javax.annotation.Resource;

@RunWith(SpringJUnit4ClassRunner.class)

@ContextConfiguration(locations = "classpath:SpringConfig04.xml")
public class Test04 {

    @Resource
    private AccountService accountService;

    @Test
    public  void t02() {

        accountService.change("1", "2", 1.0);


    }

    }
